package www.superbytecode.com.constant;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName superbytecode-builder
 * @Package www.superbytecode.com.constant
 * @ClassName Constant
 * @Description
 * @Author [Lance Ting]
 * @Date 2020/7/14 20:37
 * @Version V1.0
 * @Copyright: 2020 www.super-bytecode.com Inc. All rights reserved.
 * @TODO：本文件Lance Ting所作, 如果转载或使用请标明具体出处!
 **/
public class Constant {
    /**
     * Mysql数据库驱动
     */
    public static final String DRIVER_MYSQL = "com.mysql.jdbc.Driver";
    /**
     * Oracle数据库驱动
     */
    public static final String DRIVER_ORACLE = "oracle.jdbc.driver.OracleDriver";
    /**
     * PostgreSQL数据库驱动
     */
    public static final String DRIVER_POSTGRESQL = "org.postgresql.Driver";
    /**
     * Mysql链接串
     */
    public static final String CONNECTION_MYSQL = "jdbc:mysql://%s:%s/%s?useUnicode=true&useSSL=false&characterEncoding=%s";
    /**
     * Oracle链接串
     */
    public static final String CONNECTION_ORACLE = "jdbc:oracle:thin:@%s:%s:%s";
    /**
     * PostgreSQL链接串
     */
    public static final String CONNECTION_POSTGRESQL = "jdbc:postgresql://%s:%s/%s";
}